package com.chengqs.rainbow.account.service;

import com.chengqs.rainbow.account.domain.RegisterDTO;
import com.chengqs.rainbow.account.domain.UserAccountDO;
import com.chengqs.rainbow.account.domain.UserAccountQuery;
import com.chengqs.rainbow.api.account.domain.UserAccountDTO;
import com.chengqs.rainbow.common.core.domain.BasePage;

import java.util.List;

/**
 * <B>主类名称：</B>UserAccountService<BR>
 * <B>概要说明：</B>enter<BR>
 *
 * @author: chengqs
 * @create: 2025-09-16 21:46:57
 **/
public interface UserAccountService {

    BasePage<UserAccountDTO> listByPage(UserAccountQuery query);

    UserAccountDTO getById(Long id);

    void update(UserAccountDTO userAccountDTO);

    void modifyPassword(Long id, String password);

    UserAccountDO register(RegisterDTO registerDTO);

    void modifyNickname(Long id, String nickname);

    List<UserAccountDTO> getByIds(List<Long> ids);
}

